import 'package:equatable/equatable.dart';
import 'package:website.core/core/domain/entities/google_play/google_play_purchased_item.dart';

class GooglePlayOneTimePurchasedItem extends Equatable implements GooglePlayPurchasedItem {
  const GooglePlayOneTimePurchasedItem({
    required this.purchaseItemSku,
    required this.purchaseToken,
    required this.revoked,
  });

  @override
  final String purchaseItemSku;

  @override
  final String purchaseToken;

  final bool revoked;

  @override
  List<Object?> get props {
    return [
      purchaseItemSku,
      purchaseToken,
      revoked,
    ];
  }
}
